package com.shievy.anweb

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.databinding.DataBindingUtil
import com.shievy.anweb.databinding.ActivityTest1Binding

class Test1Activity : AppCompatActivity() {
    val binding: ActivityTest1Binding by lazy {
        DataBindingUtil.setContentView(
            this,
            R.layout.activity_test1
        )
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        binding.tvView.text = intent?.extras?.getString("tips") ?: "测试页面"
    }
}